<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
    p {
        /* font-style: italic;
        font-weight: 700;
        font-size: 16px;
        font-family: 'Microsoft Yahei'; */
        font: italic 700 16px 'Microsoft yahei'
        
    }
    .red {
        width: 100px;
        height: 100px;
        background-color: crimson;
    }

    .green {
        width: 100px;
        height: 100px;
        background-color: chartreuse;
    }

    #blue {
        color: darkblue;
        font-family: 'Microsoft YaHei';
    }

    /* *{
        color: darkgoldenrod;
    } */
    body {
        font-size: 16px;
    }
    .bol {
        font-weight: bold;
        font-style: italic;
    }
    em {
        font-style: normal;
    }
    h1 {
        text-decoration: line-through;
        text-align: center;
    }
    a {
        color: darkgray;
        font-weight: 700;
        text-decoration: none;
    }
    </style>
</head>
<body>
    <div class="red"></div>
    <div class="green"></div>
    <div class="red"></div>
    <div id="blue" class="bol">lalaland好好</div>
    <em>倾斜字体不倾斜</em>
    <p>i此阿什顿</p>
    <h1>Nihao</h1>
    <a href="#">年的你难道</a>
    <p style="color: darkslateblue; font-size: larger;">蓝色</p>
</body>
</html>